Pointer Recalculator

If you already know how to find and change pointers
manually, this program will save you some time.

1. Take your translated text file and use Script Inserter, but
   creating a new file. Be sure to start the "insertion" from
   address 0.

2. Open Recap. Write the values asked (all must be decimal).

3. For reuse of pointers, write first the number of the
   pointer to be changed and the number of the pointer to
   copy the value (see below for more details).
   It's very important to follow ascending order.
   Write 2 zeros to end.
   
4. Apply the patch created. You can check it first with a hex
   editor. Just ignore the first ten bytes and the last three,
   they are used for the IPS format.


For example, suppose we have the following text:

We must fight.                 (1)
Will you help me?
\
I'll go with ya.               (2)
\
I'm not sure...                (3)
\
I'll go with ya.               (4)
\
Are you crazy?                 (5)
\
Please take care.              (6)
\
Are you crazy?                 (7)
\

If the section break is FFh, use 255 in Recap.
The total number of pointers is 7.

Now you can delete the sections (4) and (7) in the text,
and write in Recap 4,2 and 7,4 (see below).
This way you can save space easily.


P.D. -How it works- (to clear any doubt about how to use it)

The program uses the break character as a mark to set the
pointers to the next position. This offset is added to
the value of the first pointer, which you must copy from
the rom. Then it reverses the bytes and copies them to the disk.

For reuse of pointers, it copies one by one, until it reaches
the pointer indicated, copies the indicated pointer, and
continues.

So the important thing here is to note the difference between
those numbers written when reusing pointers.
The first one relates to the order of the resulting pointer table;
that is, the original order of the text unchanged.
The second one is the number of the text section. So, in the
above example, when we delete the duplicated dialogues, the
numeration changes (but ONLY to write the number for reuse):

We must fight.                 (1)
Will you help me?
\
I'll go with ya.               (2)
\
I'm not sure...                (3)
\
Are you crazy?                 (4)
\
Please take care.              (5)
\

So you must numerate the original text and the changed text.
The first number to write in Recap is the original. The second
is the changed numeration.




Web:
      http://members.xoom.com/has_san/indexe.html


